package com.huikeportal.service;

import java.util.List;
import java.util.Map;
import com.huikeportal.model.DataTypeIndex;
import com.huikeportal.model.MessageCommon;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.UserManagerInfo;

public interface UserAPIService {

	List<UserManagerInfo> getUserList(UserManagerInfo userManagerInfo,
			String source) throws Exception;

	void addUser(UserManagerInfo userManagerInfo) throws Exception;

	UserManagerInfo getUserById(String userId) throws Exception;

	void updateUserInfo(UserManagerInfo userManagerInfo) throws Exception;

	MessageCommon updateUserStatus(String userId, String type) throws Exception;

	List<SiteAllInfo> getUserSiteList(String userId) throws Exception;

	void updateUserSite(String userId, String siteString) throws Exception;

	List<DataTypeIndex> getUserDataList(String userId) throws Exception;

	void updateUserData(String userId, String dataString) throws Exception;

	Map<String, Object> getUserOtherPer(String userId) throws Exception;

	void updateUserOtherPer(String userId, Map<String, Object> map)
			throws Exception;
}
